<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/4/11 0011
 * Time: 下午 9:47
 */

namespace app\admin\validate;

use think\Validate;

class Message extends Validate
{
    protected $rule =   [
        'm_text'      =>  'require',    //公众号客户发送的关键词
        'm_content'   =>  'require',    //公众号根据关键词回复信息
    ];

    protected $message  =   [
        'm_text.require'    =>  '关键词不能为空',
        'm_content'         =>  '回复内容不能为空',
    ];
}